package cn.cvs.dao;

import cn.cvs.pojo.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierMapper {
    List<Supplier> getSupplierListBySupplier(@Param("supCode") String supCode, @Param("supName") String supName, @Param("startIndex") int startIndex, @Param("pageSize") int pageSize);
    int supplierCount(@Param("supCode") String supCode, @Param("supName") String supName);
    int insert(Supplier supplier);
    Supplier selectSupplierById(int id);
    int update(Supplier supplier);
    int delete(int id);
}
